package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户与音频产品关联表
 * </p>
 *
 * @author 陈永鹏
 * @since 2019-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zs_user_audio_relation")
public class UserAudioRelation extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "uar_id", type = IdType.AUTO)
    private Integer uar_id;

    private Integer u_id;

    /**
     * 音频产品主键
     */
    private Integer goods_id;

    /**
     * 购买时间
     */
    private Integer buy_time;

    /**
     * 播放次数
     */
    private Integer play_times;


}
